<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .aer>input[type=radio] {
            position: absolute;
            left: 0;
            top: 0;
            width: 18px;
            height: 18px;
            margin: 0;
            padding: 0;
            opacity: 0;
        }
        
        .aer>input[type=radio]+i {
            position: relative;
            display: inline-block;
            width: 18px;
            height: 18px;
            vertical-align: top;
        }
        
        .aer>input[type=radio]+i:after {
            transition: all 0.3s;
        }
        
        .aer>input[type=radio]:first-child {
            z-index: 10;
        }
        
        .aer>input[type=radio]:checked+input[type=radio] {
            z-index: 10;
        }
        
        .aer>input[type=radio]:checked+i+label,
        .aer>input[type=radio]:checked+i+label+label {
            display: none;
        }
        
        .aer>input[type=radio]:checked+input[type=radio]+i+label,
        .aer>input[type=radio]:checked+input[type=radio]+i+label+label+label {
            display: none;
        }
        
        .aer>input[type=radio]:checked+input[type=radio]+input[type=radio]+i+label+label,
        .aer>input[type=radio]:checked+input[type=radio]+input[type=radio]+i+label+label+label {
            display: none;
        }
        
        .box>input[type=radio]+i {
            border: solid 2px #bdbdbd;
            border-radius: 3px;
        }
        
        .box>input[type=radio]+i:before {
            content: " ";
            display: block;
            position: absolute;
            left: -2px;
            top: -2px;
            right: -2px;
            bottom: -2px;
            background-color: #8b8b8b;
            border-radius: 3px;
        }
        
        .box>input[type=radio]:checked+input[type=radio]+i:after {
            width: 10px;
            height: 0px;
            border-left: none;
            border-bottom: solid 3px;
            transform: rotate(0);
            opacity: 1;
        }
        
        .box>input[type=radio]:checked+input[type=radio]+input[type=radio]+i:before {
            opacity: 0;
            transform: scale(0);
        }
        
        .cher>input[type=radio] {
            width: 46px;
            height: 24px;
            left: -3px;
            top: -1px;
        }
        
        .cher>input[type=radio]+i {
            width: 40px;
            height: 16px;
            margin-top: 2px;
            background-color: #bdbdbd;
            border-radius: 8px;
        }
        
        .cher>input[type=radio]+i:before {
            content: " ";
            position: absolute;
            top: -3px;
            left: -3px;
            display: block;
            width: 24px;
            height: 24px;
            background-color: #fafafa;
            border-radius: 50%;
            box-shadow: 0 1px 8px 1px rgba(0, 0, 0, 0.3);
        }
        
        .cher>input[type=radio]:checked+i {
            background-color: #a5d7a7;
        }
        
        .cher>input[type=radio]:checked+i:before {
            left: 19px;
            background-color: #4caf50;
        }
        
        .cher>input[type=radio]:checked+input[type=radio]+i:before {
            left: 8px;
        }
        
        .cher>input[type=radio]:checked+input[type=radio]+input[type=radio]+i {
            background-color: #f9a19a;
        }
        
        .cher>input[type=radio]:checked+input[type=radio]+input[type=radio]+i:before {
            background-color: #f44336;
        }
        
        .roe label {
            display: inline-block;
            padding-top: 3px;
            padding-left: 3px;
        }
        
        .roe>input[type=radio] {
            width: 30px;
            height: 30px;
        }
        
        .roe>input[type=radio]+i {
            width: 24px;
            height: 24px;
            margin: 5px;
            background-color: #ccc;
            border-radius: 50%;
            box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3), inset 1px 1px 2px rgba(255, 255, 255, 0.4), inset -1px -1px 2px rgba(0, 0, 0, 0.4);
        }
        
        .roe>input[type=radio]+i:before {
            content: " ";
            position: absolute;
            left: 50%;
            top: 50%;
            width: 3px;
            height: 3px;
            border-radius: 50%;
            box-shadow: -16px 0 0 #8b8b8b, 0 -16px 0 #8b8b8b, 16px 0 0 #8b8b8b;
        }
        
        .roe>input[type=radio]+i:after {
            content: " ";
            display: block;
            position: absolute;
            left: 0;
            top: 50%;
            width: 10px;
            margin-top: -1px;
            border-bottom: solid 2px #666;
            transform-origin: 12px 50%;
        }
        
        .roe>input[type=radio]:checked+i:after {
            transform: rotate(180deg);
        }
        
        .roe>input[type=radio]:checked+input[type=radio]+i:after {
            transform: rotate(90deg);
        }
        
        .roe>input[type=radio]:checked+input[type=radio]+input[type=radio]+i:after {
            transform: rotate(0deg);
        }
    </style>
</head>

<body>
    <div>
        <span class="aer roe">
          <input type="radio" id="item3-state-off" name="item3" value="-1" checked="">
          <input type="radio" id="item3-state-null" name="item3" value="0">
          <input type="radio" id="item3-state-on" name="item3" value="1">
          <i></i>
          <label for="item3-state-null">o</label>
          <label for="item3-state-on">p</label>
          <label for="item3-state-off">k</label>
        </span>
    </div>
</body>

</html>